home *** CD-ROM | disk | FTP | other *** search
/ com!online 2002 January / com! 2002.01.iso / autohtml / selfhtml / javascript / sprache / anzeige / quadrat.js < prev    next >
Encoding:
Text File  |  2001-10-27  |  195 b   |  4 lines

  1. function Quadrat(Zahl)  {
  2. var Ergebnis = document.Formular.Eingabe.value * document.Formular.Eingabe.value;
  3.    alert("Das Quadrat von " + document.Formular.Eingabe.value + " = " + Ergebnis);
  4. }